package com.epfresh.supplier.entity;

import com.epfresh.supplier.widget.banner.BannerEntityImp;

public class BaseProductImages implements BannerEntityImp{


    /**
     * id : 84
     * attachmentId : 34327
     * attachmentUrl : http://imgtest.epfresh.com/2773_48147d0ac5655323dc6b8f288d7aee3a.jpg-PRODUCTIMAGEDETAILS
     * thumbnail : true
     * banner : true
     * type : 1
     * productId : 36
     * sort : 0
     */

    private String id;
    private String attachmentId;
    private String attachmentUrl;
    private boolean thumbnail;
    private boolean banner;
    private String type;
    private String productId;
    private String sort;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAttachmentId() {
        return attachmentId;
    }

    public void setAttachmentId(String attachmentId) {
        this.attachmentId = attachmentId;
    }

    public String getAttachmentUrl() {
        return attachmentUrl;
    }

    public void setAttachmentUrl(String attachmentUrl) {
        this.attachmentUrl = attachmentUrl;
    }

    public boolean isThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(boolean thumbnail) {
        this.thumbnail = thumbnail;
    }

    public boolean isBanner() {
        return banner;
    }

    public void setBanner(boolean banner) {
        this.banner = banner;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getSort() {
        return sort;
    }

    public void setSort(String sort) {
        this.sort = sort;
    }

    @Override
    public String getBannerUrl() {
        return attachmentUrl;
    }
}
